package com.wannengbang.cloudleader.homepage;

import android.os.Bundle;
import android.view.View;
import android.widget.LinearLayout;

import com.wannengbang.cloudleader.R;
import com.wannengbang.cloudleader.base.BaseActivity;
import com.wannengbang.cloudleader.widget.AppTitleBar;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class ExchangeTypeActivity extends BaseActivity {

    @BindView(R.id.title_bar)
    AppTitleBar titleBar;
    @BindView(R.id.ll_look1)
    LinearLayout llLook1;
    @BindView(R.id.ll_look2)
    LinearLayout llLook2;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_exchange_type);
        ButterKnife.bind(this);
    }

    @OnClick({R.id.ll_look1, R.id.ll_look2, R.id.ll_look3, R.id.ll_look4})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.ll_look1:
                showActivity(ExchangeMyListActivity.class);
                break;
            case R.id.ll_look2:
                showActivity(ExchangeOtherListActivity.class);
                break;
            case R.id.ll_look3:
                showActivity(ExchangeTransformActivity.class);
                break;
            case R.id.ll_look4:
                showActivity(ExchangeTransformListActivity.class);
                break;
        }
    }
}
